package com.tgy.JspDemo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Student)实体类
 *
 * @author
 * @since 2021-12-07 15:07:56
 */
public class Student implements Serializable {
    private static final long serialVersionUID = -21926728543034554L;

    private Integer id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 0为男，1为女
     */
    private Integer sex;
    /**
     * 家乡
     */
    private String hometown;
    /**
     * 爱好
     */
    private String hobby;
    /**
     * 时间
     */
    private Date birth;
    /**
     * 年级id
     */
    private Integer gradeid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getHometown() {
        return hometown;
    }

    public void setHometown(String hometown) {
        this.hometown = hometown;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public Integer getGradeid() {
        return gradeid;
    }

    public void setGradeid(Integer gradeid) {
        this.gradeid = gradeid;
    }

}

